package com.eastfair.venuebooking.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.venuebooking.dto.BelongToAssignDTO;
import com.eastfair.venuebooking.entity.BelongRecord;

/**
 * <p>
 * 业务接口
 * 客户归属记录表
 * </p>
 *
 * @author clm
 * @date 2022 -06-10
 */
public interface BelongRecordService extends SuperService<BelongRecord> {

    /**
     * 保存归属记录.
     *
     * @param assignDTO the assign dto
     * @return the boolean
     */
    boolean saveBelongRecord(BelongToAssignDTO assignDTO);

    /**
     * 客户ID统计归属记录数量.
     *
     * @param customerId the customer id
     * @return the long
     */
    long countBelongRecordByCustomerId(Long customerId);
}
